import request from '@/utils/request';

export function login(data) {
  return request({
    url: '/vue2-vant/login',
    method: 'post',
    data
  });
}
export function logout(data) {
  return request({
    url: '/vue2-vant/logout',
    method: 'post',
    data
  });
}
